package com.demo2do.wechatmcs.entity.webauth;


/**
 * 
 * @author downpour
 */
public class WebAuthToken {
    
    private String accessToken;
    
    private String openid;
    
    private String scope;
    
    private String refreshToken;
    
    /**
     * The default constructor
     */
    public WebAuthToken() {
    }

    /**
     * 
     * @param accessToken
     * @param refreshToken
     * @param openid
     * @param scope
     */
    public WebAuthToken(String accessToken, String refreshToken, String openid, String scope) {
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
        this.openid = openid;
        this.scope = scope;
    }

    /**
     * @return the accessToken
     */
    public String getAccessToken() {
        return accessToken;
    }

    /**
     * @return the openid
     */
    public String getOpenid() {
        return openid;
    }

    /**
     * @return the scope
     */
    public String getScope() {
        return scope;
    }

    /**
     * @return the refreshToken
     */
    public String getRefreshToken() {
        return refreshToken;
    }

    /**
     * @param accessToken the accessToken to set
     */
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    /**
     * @param openid the openid to set
     */
    public void setOpenid(String openid) {
        this.openid = openid;
    }

    /**
     * @param scope the scope to set
     */
    public void setScope(String scope) {
        this.scope = scope;
    }

    /**
     * @param refreshToken the refreshToken to set
     */
    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }
}
